.simulation-manager-modal .ant-modal-content {
  background-color: #333333;
  color: #e0e0e0;
  padding: 32px 32px 24px 32px;
}

.simulation-manager-modal .ant-modal-header {
  background-color: #333333;
  border-bottom: 1px solid #444444;
}

.simulation-manager-modal .ant-modal-title {
  color: #e0e0e0;
}

.simulation-manager-modal .ant-tabs-nav {
  background-color: #333333;
  margin-bottom: 20px;
}

.simulation-manager-modal .ant-tabs-tab {
  color: #e0e0e0;
}

.simulation-manager-modal .ant-tabs-tab-active {
  color: #1890ff;
}

.simulation-manager-modal .ant-tabs-ink-bar {
  background-color: #1890ff;
}

.simulation-section {
  padding: 20px;
  background-color: #2a2a2a;
  border-radius: 4px;
  margin-bottom: 20px;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.status-item,
.path-item,
.config-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.label {
  min-width: 80px;
  color: #cccccc;
}

.status {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
}

.status.success {
  background-color: #52c41a;
  color: #ffffff;
}

.status.warning {
  background-color: #faad14;
  color: #ffffff;
}

.path-item .ant-input {
  flex: 1;
  background-color: #444444;
  border-color: #555555;
  color: #e0e0e0;
}

.path-item .ant-input:hover,
.path-item .ant-input:focus {
  border-color: #1890ff;
}

.config-item .ant-input,
.config-item .ant-select {
  background-color: #444444;
  border-color: #555555;
  color: #e0e0e0;
}

.config-item .ant-select-selector {
  background-color: #444444 !important;
  border-color: #555555 !important;
}

.config-item .ant-select-selection-item {
  color: #e0e0e0 !important;
}

.modal-footer {
  margin-top: 20px;
  text-align: right;
  border-top: 1px solid #444444;
  padding-top: 20px;
}

.ant-select-dropdown {
  background-color: #333333 !important;
}

.ant-select-item {
  color: #e0e0e0 !important;
}

.ant-select-item-option-selected {
  background-color: #1890ff !important;
  color: #ffffff !important;
}

.ant-select-item-option-active {
  background-color: #444444 !important;
}

.simulation-manager-modal .ant-btn-primary {
  color: #ffffff;
}

.simulation-manager-modal .ant-modal-header{
  padding-bottom: 10px !important;
  margin-bottom: 5px !important;
}

.simulation-manager-modal .ant-btn-primary[disabled] {
  color: #a5a3a3 !important;
  background-color: #444444 !important;
  border-color: #555555 !important;
}

.simulation-manager-modal .ant-btn-primary[disabled]:hover {
  color: #a5a3a3 !important;
  background-color: #444444 !important;
  border-color: #555555 !important;
}

.dark-modal .ant-modal-content {
  background-color: #1f1f1f;
  border: 1px solid #333;
}

.dark-modal .ant-modal-header {
  background-color: #1f1f1f;
  border-bottom: 1px solid #333;
}

.dark-modal .ant-modal-title {
  color: #fff;
}

.dark-modal .ant-modal-body {
  color: #fff;
}

.dark-modal .ant-modal-footer {
  border-top: 1px solid #333;
}

.dark-modal .ant-btn {
  background-color: #2f2f2f;
  border-color: #444;
  color: #fff;
}

.dark-modal .ant-btn:hover {
  background-color: #3f3f3f;
  border-color: #555;
}

.dark-modal .ant-btn-primary {
  background-color: #1890ff;
  border-color: #1890ff;
}

.dark-modal .ant-btn-primary:hover {
  background-color: #40a9ff;
  border-color: #40a9ff;
}

.dark-modal .ant-btn-dangerous {
  background-color: #ff4d4f;
  border-color: #ff4d4f;
}

.dark-modal .ant-btn-dangerous:hover {
  background-color: #ff7875;
  border-color: #ff7875;
}

.simulation-manager-modal .ant-modal-close,
.simulation-manager-modal .ant-modal-close-x {
  color: #fff !important;
}
.simulation-manager-modal .ant-modal-close:hover,
.simulation-manager-modal .ant-modal-close:focus {
  color: #fff !important;
} 

.simulation-manager-modal,
.simulation-manager-modal * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.simulation-manager-modal .ant-card-body {
  padding: 24px 24px 8px 24px !important;
  background: transparent;
  box-shadow: none;
}

.simulation-manager-modal .ant-card-body {
  padding: 0 !important;
  max-height: calc(100vh - 300px);
  overflow-y: auto;
}

.simulation-manager-modal .ant-list-item {
  padding: 24px !important;
}

.simulation-manager-modal .ant-card-body::-webkit-scrollbar {
  width: 6px;
}
.simulation-manager-modal .ant-card-body::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 3px;
}
.simulation-manager-modal .ant-card-body::-webkit-scrollbar-track {
  background: #1a1a1a;
}
.simulation-manager-modal .ant-card-body::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.simulation-settings-modal .ant-modal-content {
  background: #232323;
  color: #e0e0e0;
  border-radius: 10px;
  border: 1px solid #444;
}
.simulation-settings-modal .ant-modal-header {
  background: #232323;
  border-bottom: 1px solid #444;
  border-radius: 10px 10px 0 0;
}
.simulation-settings-modal .ant-modal-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.simulation-settings-modal .ant-modal-close-x {
  color: #f5f5f5;
}
.simulation-settings-modal .ant-modal-close:hover .ant-modal-close-x {
  color: #1976d2;
}
.simulation-settings-modal .ant-form-item-label > label {
  color: #e0e0e0;
}
.simulation-settings-modal .ant-input,
.simulation-settings-modal .ant-select-selector {
  background: #444 !important;
  border-color: #555 !important;
  color: #e0e0e0 !important;
}
.simulation-settings-modal .ant-input:focus,
.simulation-settings-modal .ant-input:hover {
  border-color: #1890ff !important;
}
.simulation-settings-modal .ant-btn-primary {
  background: #1890ff;
  border-color: #1890ff;
  color: #fff;
}
.simulation-settings-modal .ant-btn-primary:hover {
  background: #40a9ff;
  border-color: #40a9ff;
}
.simulation-settings-modal .ant-btn {
  background: #2a2a2a;
  border-color: #444;
  color: #e0e0e0;
}
.simulation-settings-modal .ant-btn:hover {
  background: #333;
  border-color: #555;
  color: #fff;
}

.simulation-settings-modal .ant-form-item {
  margin-bottom: 12px;
}

.launch-file-row .ant-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.launch-file-row .ant-btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  height: 32px;
  padding: 0 16px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.simulation-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  background: transparent;
}

.simulation-toolbar .toolbar-button {
  background: #3a3a3a;
  border-color: #555;
  color: #e0e0e0;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 45px;
  height: 28px;
  border-radius: 4px;
  margin-left: 6px;
  font-size: 12px;
  padding: 0 8px;
}

.simulation-toolbar .toolbar-button:hover {
  background: #4a4a4a;
  border-color: #1890ff;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

.simulation-toolbar .toolbar-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(24, 144, 255, 0.2);
}

.simulation-manager-modal .ant-modal-footer {
  background: transparent;
}